package com.winning.devops.websocket.javaapi;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * @author chensj
 * @title
 * @project spring-boot-cli
 * @package com.winning.devops.websocket.javaapi
 * @date: 2019-04-03 20:57
 */
@Configuration
public class JavaApiWebSocketConfig {

    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }
}
